package com.mata.worktime.dto;

import java.util.Date;


/**
 * 工时查询分页dto
 *
 * @author earthchen
 * @date 2018/10/8
 **/
public class WorkHourParamDTO
{

    private Long projectId;

    private Date startDate;

    private Date endDate;

    private Date curDate = new Date();

    private Integer weekCode = 0;

    private Integer size = 10;

    private Integer page = 0;

    private String reviewFlag;

    private String orderByField;

    private Boolean isAsc;

    public String getReviewFlag() {
        return reviewFlag;
    }

    public void setReviewFlag(String reviewFlag) {
        this.reviewFlag = reviewFlag;
    }

    public Date getStartDate()
    {
        return startDate;
    }

    public void setStartDate(Date startDate)
    {
        this.startDate = startDate;
    }

    public Date getEndDate()
    {
        return endDate;
    }

    public void setEndDate(Date endDate)
    {
        this.endDate = endDate;
    }

    public Date getCurDate()
    {
        return curDate;
    }

    public void setCurDate(Date curDate)
    {
        this.curDate = curDate;
    }

    public Long getProjectId()
    {
        return projectId;
    }

    public void setProjectId(Long projectId)
    {
        this.projectId = projectId;
    }

    public Integer getWeekCode()
    {
        return weekCode;
    }

    public void setWeekCode(Integer weekCode)
    {
        this.weekCode = weekCode;
    }

    public Integer getSize()
    {
        return size;
    }

    public void setSize(Integer size)
    {
        this.size = size;
    }

    public Integer getPage()
    {
        return page;
    }

    public void setPage(Integer page)
    {
        this.page = page;
    }

    public String getOrderByField()
    {
        return orderByField;
    }

    public void setOrderByField(String orderByField)
    {
        this.orderByField = orderByField;
    }

    public Boolean getAsc()
    {
        return isAsc;
    }

    public void setAsc(Boolean asc)
    {
        isAsc = asc;
    }

    @Override
    public String toString()
    {
        return "WorkHourParamDTO{" +
               "projectId=" + projectId +
               ", startDate=" + startDate +
               ", endDate=" + endDate +
               ", curDate=" + curDate +
               ", weekCode=" + weekCode +
               ", size=" + size +
               ", page=" + page +
               ", orderByField='" + orderByField + '\'' +
               ", isAsc=" + isAsc +
               ", reviewFlag=" + reviewFlag +
               '}';
    }
}
